exports.DefaultHttpHeader = class DefaultHttpHeader {

    constructor() {
      this.fields = [
        ['Authorization', 'Users unique access-key.'],
      ];
    }

};

exports.ReqHead = class ReqHead {

    constructor() {
      this.fields = [
        ['account_id', 0, '账号id'],
        ['session_id', '', '会话id'],
      ];
    }

};

exports.RspHead = class RspHead {

    constructor() {
      this.fields = [
        ['code', 0, '错误码/0 成功；1 失败'],
        ['message', '', '错误描述'],
      ];
    }

};

exports.Account = class StreamPagination {
    constructor() {
      this.fields = [
            ['aid', '', '账号id'],
            ['app_id', 0, 'app_id'],
            ['plat_id', 0, 'plat_id'],
            ['plat_openid', '', 'plat_openid'],
            ['plat_unionid', '', 'plat_unionid'],
            ['register_time', 0, 'register_time'],
      ];
    }
};
